<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="/dtpr/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/Flat-UI/css/flat-ui.min.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/css/home.css" rel="stylesheet" type="text/css">
    <link href="/dtpr/css/exam.css" rel="stylesheet" type="text/css">
    <script src="/dtpr/bootstrap/js/jquery-3.2.1.min.js"></script>
    <script src="/dtpr/js/home.js"></script>
    <title>上传题目</title>
</head>
<body>
<!--网页头-->
<script src="/dtpr/js/bgHead.js"></script>
<!--网页体-->
 <div class="main">
     <div class="p-body">
         <!--页面正文-->
         <div class="container-fluid">
             <div class="box">
                 <!--头部-->
                 <h4>
                     上传试题
                 </h4>
                 <hr>
                 <!--身体-->
                 <form class="form-horizontal" id="submitForm" enctype="multipart/form-data">
                     <input type="hidden" name="sectionid" value="0" id="section-id">
                     <div class="form-group">
                         <label class="control-label col-sm-2">示范格式</label>
                         <div class="col-sm-9"><img src="/dtpr/images/demo.png"></div>
                     </div>
                     <div class="form-group">
                         <div class="col-sm-2"></div>
                         <div class="col-sm-9"><button class="btn btn-default">下载模板</button> </div>
                     </div>
                     <div class="form-group">
                         <label class="control-label col-sm-2">科目</label>
                         <div class="col-sm-9">
                             <select class="form-control" id="subject">
                                 <option selected>请选择</option>
                             </select>
                         </div>
                     </div>
                     <div class="form-group">
                         <label class="control-label col-sm-2">册次</label>
                         <div class="col-sm-9">
                             <select class="form-control" id="volume">
                                 <option selected>请选择</option>
                             </select>
                         </div>
                     </div>
                     <div class="form-group">
                         <label class="control-label col-sm-2">章节</label>
                         <div class="col-sm-9">
                             <select class="form-control" id="section">
                                 <option selected>请选择</option>
                             </select>
                         </div>
                     </div>
                     <div class="form-group">
                         <label class="control-label col-sm-2">待导入文件</label>
                         <div class="col-sm-9">
                             <input type="file" name="uploadfile">
                             <p class="help-block">注意：导入文件必须为csv文件，可用excel另存为csv，为保证程序正常导入，每个CSV文件请不要超过2M，否则可能导入失败</p>
                         </div>
                     </div>
                     <div class="form-group">
                         <label class="control-label col-sm-2"></label>
                         <div class="col-sm-9">
                             <button type="button" onclick="submitForm()" class="btn btn-primary">提交</button>
                         </div>
                     </div>
                 </form>
             </div>
         </div>
     </div>
 </div>
<!--网页脚-->
<script src="/dtpr/js/foot.js"></script>
<script src="/dtpr/html/background/exam/js/fileImport.js"></script>
<script src="/dtpr/js/select.js"></script>
<script src="/dtpr/Flat-UI/js/flat-ui.min.js"></script>
</body>
</html>